Version

Remove(KeyValuePair<String,Object>) Method

Removes the first occurrence of a specific object from the ICollection.
Syntax
'Declaration
 
Public Overloads Function Remove( _
   ByVal item As KeyValuePair(Of String,Object) _
) As Boolean
public bool Remove( 
   KeyValuePair<string,object> item
)

Parameters

item
The object to remove from the ICollection.

Return Value

true if item was successfully removed from the ICollection; otherwise, false. This method also returns false if item is not found in the original ICollection.
Exceptions
ExceptionDescription
System.NotSupportedExceptionThe ICollection is read-only.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also